package io.renren.service;

import io.renren.entity.Book;

import java.util.List;
import java.util.Map;

/**
 * 教辅书表
 * 
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-07-23 10:48:07
 */
public interface BookService {

    Book queryObject(Long id);

    List<Book> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(Book book);

    void update(Book book);

    void delete(Long id);

    void deleteBatch(Long[] ids);

    void updateBatch(List<Book> bookList);
}
